import urls from '../urls/config/index'
import axios from 'axios'

const ConfigService = {
  getConfig: function () {
    console.log("a");
    const url = location.href.split('#')[0];
    return axios.get(urls.configUrl + '?url=' + url);
  },
  getAgentConfig:function () {
    console.log("b");
    const url = location.href.split('#')[0];
    return axios.get(urls.agentConfigUrl + '?url=' + url);

  }
};
export default ConfigService;
